﻿using System;
using AutoMapper;
using Enferno.Public.Web.ShoppingBasket.Mappers;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Enferno.Public.Web.ShoppingBasket.Test.Mappers
{
    [TestClass]
    public class ShoppingBasketProfileTests
    {
        [TestInitialize]
        public void Init()
        {
            Mapper.Initialize(conf=> conf.AddProfile<ShoppingBasketProfile>());
        }

        [TestMethod]
        //[Ignore]
        public void IsMappingValid()
        {
            Mapper.AssertConfigurationIsValid();
        }
    }
}
